//
//  RootViewController.h
//  PokerHand
//
//  Created by mrbradle on 10/10/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "PokerHand.h"

@interface RootViewController : UIViewController {

    UIButton* checkButton;
    UILabel* checkLabel;
    
    //UIButton* setButton;
    
    NSMutableArray* cards;
    NSMutableArray* cardButtons;
    NSMutableArray* cardImages;
    
    PokerHand* pokerHand;
    
    //for testing
    Card* card;
    
}

- (IBAction) checkButtonPressed;
- (IBAction) setButtonPressed:(id) sender;
- (int)findCardButtonIndex:(UIButton*) button;

@property (nonatomic,retain) IBOutlet UILabel* checkLabel;
@property (nonatomic,retain) IBOutlet PokerHand* pokerHand;

@end
